package top.jojoace.demo2.dao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import top.jojoace.demo.Dao.UserInterface;

/**
 * @author 陈Ser
 * @ClassName UserScan
 * @description: TODO
 * @Date 2021/10/28 11:34
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class UserScan implements UserInterface {

    private String name;
    private int age;

    @Override
    public void sayClass() {
        System.out.println("User Scan...");
    }
}
